Skip to content

chore(ci): remove the no-op nix access-tokens experiment (#239-#243)#246

Merged
thedavidmeister merged 1 commit into
mainfrom
chore/remove-nix-access-tokens-saga
Jun 28, 2026
Merged

chore(ci): remove the no-op nix access-tokens experiment (#239-#243)#246
thedavidmeister merged 1 commit into
mainfrom
chore/remove-nix-access-tokens-saga

Conversation

@thedavidmeister

Copy link
Copy Markdown
Contributor

What

Pure deletion (34 lines, 13 files) removing the no-op nix access-tokens experiment from #239#243, now that pinning the flake rev (#245, merged) is the real fix for the org-wide nix CI 429.

Removes from .github/actions/nix-cachix-setup/action.yml:

  • the github-token composite input,
  • the access-tokens = github.com=… line in nix-quick-install's nix_conf,
  • the temporary "Debug token wiring" step;

and the github-token: ${{ github.token }} plumbing line from the 12 reusables that passed it (autopublish, copy-artifacts, manual-sol-artifacts, rs-static, rs-test, rs-wasm-test, rs-wasm, sol-legal, sol-static, sol-test, subgraph-test, vercel).

Why it's safe (no behavior change)

The access-tokens approach was proven a no-op: the access-tokens line never landed in the effective /etc/nix/nix.conf, and even forced in via NIX_CONFIG the fetch still 429'd — it's GitHub's secondary/burst rate-limit on the flake commits/HEAD resolution, which authentication can't bypass. So removing it changes nothing at runtime.

  • github-token was purely internal reusable→composite plumbing — never a workflow_call input — so no downstream consumer repo passed it, and none can break.
  • The two callers not touched here (check-shell.yml, test.yml) never passed it.
  • The legitimate github-token usages — gh-release's own input and autopublish passing secrets.GITHUB_TOKEN to the release step — are untouched.

Verified by independent adversarial review across completeness, consumer-safety, and structural-correctness — all clean; git diff is zero insertions.

Not included (separate decision)

The other 10 reusables still carry unpinned github:rainlanguage/rainix#sol-shell refs and remain subject to the intermittent 429 (exactly as before this experiment). Pinning them like #245 did for the deploy reusable is the durable org-wide fix — left out here because it trades off against test CI tracking the current toolchain. Happy to open that as a follow-up.

🤖 Generated with Claude Code

Pure deletion (34 lines). The access-tokens approach to the org-wide nix CI 429
was proven a no-op (the line never landed in the effective nix.conf; the 429 is
GitHub's secondary burst limit auth can't bypass). The real fix is pinning the
flake rev (#245). Removes the github-token input + access-tokens nix_conf line +
debug step from nix-cachix-setup, and the github-token plumbing from 12
reusables. No behavior change; legitimate gh-release github-token usages kept.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@thedavidmeister thedavidmeister self-assigned this Jun 28, 2026
@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@thedavidmeister, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 29 minutes and 24 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8478b9d4-a643-4559-b1c3-94351f31b96c

📥 Commits

Reviewing files that changed from the base of the PR and between 8ac2905 and 1f1dd5a.

📒 Files selected for processing (13)
  • .github/actions/nix-cachix-setup/action.yml
  • .github/workflows/rainix-autopublish.yaml
  • .github/workflows/rainix-copy-artifacts.yaml
  • .github/workflows/rainix-manual-sol-artifacts.yaml
  • .github/workflows/rainix-rs-static.yaml
  • .github/workflows/rainix-rs-test.yaml
  • .github/workflows/rainix-rs-wasm-test.yaml
  • .github/workflows/rainix-rs-wasm.yaml
  • .github/workflows/rainix-sol-legal.yaml
  • .github/workflows/rainix-sol-static.yaml
  • .github/workflows/rainix-sol-test.yaml
  • .github/workflows/rainix-subgraph-test.yaml
  • .github/workflows/rainix-vercel.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/remove-nix-access-tokens-saga

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thedavidmeister

Copy link
Copy Markdown
Contributor Author

Reviewed 1f1dd5a: removes the no-op nix access-tokens experiment (#239-#243) — 34-line pure deletion, independently adversarially verified clean across completeness, consumer-safety, and structure. All CI green (mergeStateStatus CLEAN, including both rainix-check-shell jobs). Merge authorized by thedavidmeister ('merge 246') — his approval, not an agent self-approval. Merging.

@thedavidmeister thedavidmeister merged commit 3196b1e into main Jun 28, 2026
13 checks passed
@github-actions

Copy link
Copy Markdown

@coderabbitai assess this PR size classification for the totality of the PR with the following criterias and report it in your comment:

S/M/L PR Classification Guidelines:

This guide helps classify merged pull requests by effort and complexity rather than just line count. The goal is to assess the difficulty and scope of changes after they have been completed.

Small (S)

Characteristics:

  • Simple bug fixes, typos, or minor refactoring
  • Single-purpose changes affecting 1-2 files
  • Documentation updates
  • Configuration tweaks
  • Changes that require minimal context to review

Review Effort: Would have taken 5-10 minutes

Examples:

  • Fix typo in variable name
  • Update README with new instructions
  • Adjust configuration values
  • Simple one-line bug fixes
  • Import statement cleanup

Medium (M)

Characteristics:

  • Feature additions or enhancements
  • Refactoring that touches multiple files but maintains existing behavior
  • Breaking changes with backward compatibility
  • Changes requiring some domain knowledge to review

Review Effort: Would have taken 15-30 minutes

Examples:

  • Add new feature or component
  • Refactor common utility functions
  • Update dependencies with minor breaking changes
  • Add new component with tests
  • Performance optimizations
  • More complex bug fixes

Large (L)

Characteristics:

  • Major feature implementations
  • Breaking changes or API redesigns
  • Complex refactoring across multiple modules
  • New architectural patterns or significant design changes
  • Changes requiring deep context and multiple review rounds

Review Effort: Would have taken 45+ minutes

Examples:

  • Complete new feature with frontend/backend changes
  • Protocol upgrades or breaking changes
  • Major architectural refactoring
  • Framework or technology upgrades

Additional Factors to Consider

When deciding between sizes, also consider:

  • Test coverage impact: More comprehensive test changes lean toward larger classification
  • Risk level: Changes to critical systems bump up a size category
  • Team familiarity: Novel patterns or technologies increase complexity

Notes:

  • the assessment must be for the totality of the PR, that means comparing the base branch to the last commit of the PR
  • the assessment output must be exactly one of: S, M or L (single-line comment) in format of: SIZE={S/M/L}
  • do not include any additional text, only the size classification
  • your assessment comment must not include tips or additional sections
  • do NOT tag me or anyone else on your comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant